package top.stmo.stmoBlog.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Repository;
import top.stmo.stmoBlog.dao.pojo.Article;

@Repository
public interface ArticleMapper extends BaseMapper<Article> {


    IPage<Article> listArticle(Page<Article> page, Long categoryId, String query);
}
